package per.zqx.mapper;

import org.springframework.data.jpa.repository.JpaRepository;
import per.zqx.pojo.OrderMessage;

/**
 * DispatcherMapper,
 *
 * @author Sa, Zhang 2021-08-15 16:42
 */
public interface OrderMessageMapper extends JpaRepository<OrderMessage,Long> {

    OrderMessage findByOrderId(Long orderId);

    OrderMessage findFirstByStatus(Integer status);

}
